package com.ms.education.order.service;

import com.ms.education.order.entity.PayLog;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * <p>
 * 支付日志表 服务类
 * </p>
 *
 * @author ms
 * @since 2023-02-16
 */
public interface PayLogService extends IService<PayLog> {

    //生成微信支付二维码接口
    Map createNative(String orderNo);

    Map<String, String> queryPayStatus(String orderNo);

    void updateOrderStatus(Map<String, String> map, Integer courseId);

    void updateOrderStatusByClassId(Map<String, String> map, Integer classId);
}
